package com.firefighting.entity;

import java.math.BigDecimal;

public class Building {
    private Integer id;

    private Integer contractId;

    private String buildingName;

    private Integer buildingArea;

    private Integer overgroundArea;

    private Integer upgroundArea;

    private Integer overgroundLayer;

    private Integer undergroundLayer;

    private Integer buildingHeight;

    private BigDecimal latitude;

    private BigDecimal longitude;

    private Integer buildingTotalArea;

    private Integer enclosureLength;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getContractId() {
        return contractId;
    }

    public void setContractId(Integer contractId) {
        this.contractId = contractId;
    }

    public String getBuildingName() {
        return buildingName;
    }

    public void setBuildingName(String buildingName) {
        this.buildingName = buildingName == null ? null : buildingName.trim();
    }

    public Integer getBuildingArea() {
        return buildingArea;
    }

    public void setBuildingArea(Integer buildingArea) {
        this.buildingArea = buildingArea;
    }

    public Integer getOvergroundArea() {
        return overgroundArea;
    }

    public void setOvergroundArea(Integer overgroundArea) {
        this.overgroundArea = overgroundArea;
    }

    public Integer getUpgroundArea() {
        return upgroundArea;
    }

    public void setUpgroundArea(Integer upgroundArea) {
        this.upgroundArea = upgroundArea;
    }

    public Integer getOvergroundLayer() {
        return overgroundLayer;
    }

    public void setOvergroundLayer(Integer overgroundLayer) {
        this.overgroundLayer = overgroundLayer;
    }

    public Integer getUndergroundLayer() {
        return undergroundLayer;
    }

    public void setUndergroundLayer(Integer undergroundLayer) {
        this.undergroundLayer = undergroundLayer;
    }

    public Integer getBuildingHeight() {
        return buildingHeight;
    }

    public void setBuildingHeight(Integer buildingHeight) {
        this.buildingHeight = buildingHeight;
    }

    public BigDecimal getLatitude() {
        return latitude;
    }

    public void setLatitude(BigDecimal latitude) {
        this.latitude = latitude;
    }

    public BigDecimal getLongitude() {
        return longitude;
    }

    public void setLongitude(BigDecimal longitude) {
        this.longitude = longitude;
    }

    public Integer getBuildingTotalArea() {
        return buildingTotalArea;
    }

    public void setBuildingTotalArea(Integer buildingTotalArea) {
        this.buildingTotalArea = buildingTotalArea;
    }

    public Integer getEnclosureLength() {
        return enclosureLength;
    }

    public void setEnclosureLength(Integer enclosureLength) {
        this.enclosureLength = enclosureLength;
    }
}